﻿-- Creating foreign key on [AppointmentID] in table 'AppointmentDetails'
-- Creating foreign key on [AppointmentID] in table 'AppointmentDetails'
-- Creating foreign key on [AppointmentID] in table 'AppointmentDetails'
-- Creating foreign key on [AppointmentID] in table 'AppointmentDetails'
-- Creating foreign key on [AppointmentID] in table 'AppointmentDetails'
ALTER TABLE [dbo].[AppointmentDetails]
ADD CONSTRAINT [FK_AppointmentAppointmentDetail]
    FOREIGN KEY ([AppointmentID])
    REFERENCES [dbo].[Appointments]
        ([AppointmentID])
    ON DELETE NO ACTION ON UPDATE NO ACTION;














